package com.busdepot.webapp.domain;

public class Model {

	private int id;
	private String name;
	private int startYear;
	private int endYear;

	Model(String name, int startYear, int endYear) {
		this.name = name;
		this.startYear = startYear;
		this.endYear = endYear;
	}

	Model(int id, String name, int startYear, int endYear) {
		this.id = id;
		this.name = name;
		this.startYear = startYear;
		this.endYear = endYear;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getStartYear() {
		return startYear;
	}

	public void setStartYear(int startYear) {
		this.startYear = startYear;
	}

	public int getEndYear() {
		return endYear;
	}

	public void setEndYear(int endYear) {
		this.endYear = endYear;
	}

}
